<template>
    <el-container>
        <el-header>
            <NavTop></NavTop>
        </el-header>
        <el-main class="main-div">
            <transition name="fade-transform" mode="out-in">
                <router-view></router-view>
            </transition>
        </el-main>
    </el-container>
</template>

<script>
import NavTop from './NavTop'
export default {
    name: "MainContent",
    components: {
        NavTop
    }
}
</script>

<style scoped>

.main-div{
    overflow-x: hidden;
}
</style>